package com.sunyard.manage.util;

/**
 * @author TSZ
 * @Description:
 * @date:2022-10-13 17:09
 */
public class StringUtil {

    public static String last(String content){
        return content.substring(content.lastIndexOf("-")+1, content.length());
    }

    public static String lastBefore(String content){
        return content.substring(0, content.lastIndexOf("-"));
    }
}
